package com.ruibang.glass.produce.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-01-31  16:19
 * @Description: TODO
 * @Version: 1.0
 */

@Data
public class RackChangeLogReq extends PageRequest {
    @ApiModelProperty("A型架ID")
    private String rackId;
    @ApiModelProperty("批次号")
    private String rackUseBatch;
    @ApiModelProperty("port口")
    private String port;
    @ApiModelProperty("生产工位信息id")
    private String stationId;
    @ApiModelProperty("品质")
    private String pz;
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sjStartTime;
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sjEndTime;
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime xjStartTime;
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime xjEndTime;
}
